package com.example.jpa.service;

import com.example.jpa.model.User;

import java.util.List;

/**
 * Created by liulanhua on 2018/3/21.
 */
public interface IUserService {

    List<User> findAll();

    void saveUser(User user);

    User findOne(String id);

    void delete(String id);

    List<User> findByName(String name);


}
